<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>删除</title>
</head>
<body>
<?php
include_once("conn.php");//调用连接数据库模块
$sql = "delete from users where id=".$_GET["id"];
mysqli_query($conn,$sql);
echo "<script>alert('删除成功!');window.location.href='list.php';</script>";
?>
</body>
</html>